package com.tanhua.dubbo.mappers;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tanhua.model.domain.Announcements;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @program: tanhua
 * @description:
 * @author: leiyukun
 * @create: 2022-03-31 17:16
 **/
public interface AnnouncementsMapper extends BaseMapper<Announcements> {
    @Select("select * from tb_announcement limit #{page},#{pagesize};")
    List<Announcements> findList(@Param("page")Integer page, @Param("pagesize") Integer pagesize);
}
